.cargo-content {
  margin: 0;
  background-color: #e0deda;
  -webkit-user-select: none; /* Chrome, Safari, Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* 非前缀版本, 可以在大多数现代浏览器中工作 */

  img {
    -webkit-user-drag: none;
  }

  .cargo-itsimple {
    width: 1230px;
    margin: 0 auto;
    position: relative;
    height: 744px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;

    &.hide {
      opacity: 0;
    }

    .title-box {
      position: relative;
      z-index: 3;
      margin-top: 70px;
    }

    .logo {
      width: 216.487px;

      img {
        width: 100%;
        height: auto;
      }
    }

    .logo-txt {
      margin-top: 12px;
      font-weight: 400;
      color: #b1ae96;
      font-size: 16px;
      line-height: 24px; /* 150% */
    }

    #pixi-canvas {
      position: absolute;
      right: 0;
      left: 0;
      top: 190px;
      margin: 0 auto;
      width: 1200px;
      z-index: 1;

      canvas {
        position: absolute;
        z-index: 1;

        transform: scale(0.5);
        transform-origin: top left;

        touch-action: auto !important;
      }
    }

    .pixi-mask {
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      z-index: 2;
    }

    .left-body {
      position: absolute;
      padding-left: 10px;
      left: 0;
      top: 212px;
      z-index: 3;

      .slider-box {
        left: -10px;
      }
    }

    .right-body {
      position: absolute;
      right: 0;
      top: 212px;
      padding-right: 10px;
      z-index: 3;

      .slider-box {
        right: -10px;
      }
    }
  }

  .flex-row {
    display: flex;
    flex-direction: row;
  }

  .flex-end {
    justify-content: flex-end;
  }

  .align-end {
    align-items: flex-end;
  }

  .flex-column {
    display: flex;
    flex-direction: column;
  }

  .flex-between {
    justify-content: space-between;
  }

  .flex-center {
    justify-content: center;
  }

  .align-center {
    align-items: center;
  }

  .title {
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
  }

  .sub-title {
    color: #9e9b8c;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 157.143% */
    margin-top: 4px;
  }

  .color-body {
    transition: all 0.5s ease-in-out;
    margin-bottom: 20px;

    &.disable {
      opacity: 0.2;
    }
  }

  .list-box {
    margin-top: 15px;
    display: flex;
    margin-bottom: 35px;

    .color-box {
      padding: 3.18px;
      border-radius: 5.09px;
      border: 1px solid rgba(234, 232, 219, 0.5);
      margin-right: 10px;
      cursor: pointer;
      outline: none; /* 去除焦点轮廓 */
      -webkit-tap-highlight-color: transparent; /* 去除 iOS 上的灰色点击高亮 */

      .color-item {
        width: 28px;
        height: 28px;
        border-radius: 2.55px;
      }
    }

    .img-box,
    .img-right-box {
      padding: 5px;
      border-radius: 8px;
      border: 1px solid rgba(234, 232, 219, 0.5);
      margin-right: 10px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      outline: none; /* 去除焦点轮廓 */
      -webkit-tap-highlight-color: transparent; /* 去除 iOS 上的灰色点击高亮 */

      .img-item {
        width: 44px;
        height: 44px;
        display: block;
        border-radius: 3.52px;
        overflow: hidden;
        background-color: #edebe6;
        background-size: 100%;
      }
    }

    .img-right-box {
      margin-left: 10px;
      margin-right: 0;
    }

    .sel-active {
      border: 1px solid #000;
    }
  }

  .light-status-body {
    text-align: right;
    transition: all 0.5s ease-in-out;

    &.disable {
      opacity: 0.2;
    }
  }

  .slider-box {
    max-width: 130px;
    padding: 0 10px;
    position: relative;
    display: flex;
    height: 18px;
    align-items: center;
    margin-top: 12px;
    z-index: 10;

    .back-bar {
      background-color: #cbc7b7;

      .pointer {
        top: -8px !important;
      }
    }

    .slider::-webkit-slider-runnable-track {
      background-color: #000;
      height: 2px;
    }

    .slider::-moz-range-track {
      background-color: #000;
      height: 2px;
    }

    .slider::-ms-fill-lower {
      background-color: #000;
      height: 2px;
    }

    .line {
      width: 150px;
      height: 1px;
      background-color: #000;
    }

    .block {
      position: absolute;
      left: 0;
      width: 15px;
      height: 15px;
      background-color: #fff;
      border-radius: 50%;
      border: 1px solid #000;
      cursor: pointer;
    }
  }

  .slider::-webkit-slider-thumb {
    appearance: none;
    margin-top: -5px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #000000;
  }

  .slider::-moz-range-thumb {
    margin-top: -5px;
    cursor: pointer;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #000000;
  }

  .slider::-ms-thumb {
    margin-top: -5px;
    cursor: pointer;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #000000;
  }

  .back-bar {
    height: 1px !important;

    .pointer {
      border: 1.4px solid #000;
      background-color: #e0deda !important;
    }
  }
}

@media screen and (max-width: 900px) {
  .cargo-content {
    .logo {
      width: 139.67px !important;
    }
    .logo-txt {
      margin-top: 8px;
      font-weight: 400;
      color: #b1ae96;
      font-size: 14px !important;
      line-height: 22px !important; /* 150% */
    }

    .sub-title {
      display: none;
    }

    #pixi-canvas {
      top: 150px !important;
    }

    .list-box {
      .img-box,
      .img-right-box {
        padding: 3px !important;
        border-radius: 5.82px !important;

        &.light-signals-item {
          border-radius: 4.36px !important;
          padding: 2.7px !important;
          margin-left: 14px !important;

          .img-item {
            width: 28px !important;
            height: 28px !important;
          }
        }

        .img-item {
          border-radius: 2.56px !important;
          width: 32px !important;
          height: 32px !important;
        }
      }
    }

    .color-body {
      margin-bottom: 0 !important;
    }

    .color-box {
      padding: 2.7px !important;
      border-radius: 4.36px !important;
      margin-right: 14px !important;

      .color-item {
        width: 28px !important;
        height: 28px !important;
      }
    }

    .slider-box {
      max-width: 110px !important;
    }

    .back-bar {
      height: 0.8px !important;
      .pointer {
        border: 1.2px solid #000 !important;
      }
    }

    .left-body {
      padding-left: 0 !important;
    }

    .right-body {
      padding-right: 0 !important;
    }

    .list-box {
      margin-top: 8px !important;
      margin-bottom: 24px !important;
    }
  }
}
